<section class="content-header">
	<h1>
		{{title}}<small></small>
	</h1>
</section>
<section class="content">
	<div class="box box-default">
		<div class="col-md-12">
			<div class="box-body" ng-controller="brand as at">
				<alertdanger></alertdanger>
				<alertsuccess></alertsuccess>
				<form role="form">
					<div class="box-body">


						<div class="form-group">
							<label>名称</label> <input maxlength="20" required="required"
								ng-model="brandname" class="form-control" type="text"
								placeholder="请输入名称">
						</div>
						<div class="form-group">
							<label>网址</label> <input ng-model="brandname"
								class="form-control" type="text" placeholder="请输入网站地址">
						</div>
						<div class="form-group">
							<label>排序</label> <input maxlength="3" required="required"
								ng-model="sort" class="form-control" type="text"
								placeholder="请输入数字">
						</div>
						<div class="form-group" ng-controller="fileupload">
							<label>上传图标</label>
							<div ngf-drop ngf-select ng-model="files" class="drop-box"
								ngf-drag-over-class="'dragover'" ngf-multiple="true"
								ngf-allow-dir="true" accept="image/*" ngf-pattern="'image/*'">
								<button class="btn btn-default btn-block btn-sm">选择文件</button>
								<div ngf-no-file-drop>File Drag/Drop is not supported for
									this browser</div>
							</div>
							<div class='box-body'>
								<img class="img-responsive pad"
									src="../admin/ui/dist/img/photo2.png" alt="Photo">

								<div class="form-group">
									<div class="checkbox">
										<label> <input type="checkbox">文件名
										</label>
									</div>
								</div>
							</div>
							<div class='box-body'>
								<img class="img-responsive pad"
									src="../admin/ui/dist/img/photo2.png" alt="Photo">

								<div class="form-group">
									<div class="checkbox">
										<label> <input type="checkbox">文件名
										</label>
									</div>
								</div>
							</div>
							<!-- /.box-body -->
						</div>
						<div class="form-group">
							<label> <input type="radio" ng-model="status"
								ng-value="1" class="flat-red" ng-checked="true"> 启用
							</label> <label> <input type="radio" ng-model="status"
								ng-value="0" class="flat-red"> 禁用
							</label>

						</div>
					</div>
					<div class="box-footer">
						<button ng-show="savebtn.show" type="button"
							class="btn btn-primary" ng-click="save();">保存</button>
						<button ng-show="updatebtn.show" type="button"
							class="btn btn-primary" ng-click="update();">更新</button>
					</div>
				</form>
			</div>
		</div>
		<div class="box-footer"></div>
	</div>
</section>
